------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  ...\1903 JOP\law_da_trust.log
  log type:  text
 opened on:  12 Mar 2019, 15:22:43

. 
. set seed Xee41495d96a55e2ee295c4e81df0ae1c00043bb4

. 
. ologit law_da trust_poa ///
>      lawendorse trust_poa_lawendorse ///
>          saccounty sac_trust_poa ///
>          sac_lawendorse sac_trust_poa_lawendorse ///
>          black black_trust_poa ///
>          black_lawendorse black_trust_poa_lawendorse

Iteration 0:   log likelihood = -2051.6542  
Iteration 1:   log likelihood = -2005.5544  
Iteration 2:   log likelihood = -2005.4415  
Iteration 3:   log likelihood = -2005.4415  

Ordered logistic regression                       Number of obs   =       1914
                                                  LR chi2(11)     =      92.43
                                                  Prob > chi2     =     0.0000
Log likelihood = -2005.4415                       Pseudo R2       =     0.0225

--------------------------------------------------------------------------------------------
                    law_da |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
---------------------------+----------------------------------------------------------------
                 trust_poa |    .401875    .181112     2.22   0.026      .046902     .756848
                lawendorse |  -.0937086   .1713569    -0.55   0.584     -.429562    .2421447
      trust_poa_lawendorse |   .2737465   .2596206     1.05   0.292    -.2351006    .7825936
                 saccounty |    .208715   .1567034     1.33   0.183    -.0984181    .5158481
             sac_trust_poa |   .0290372   .2396812     0.12   0.904    -.4407293    .4988036
            sac_lawendorse |   .0389558   .2300383     0.17   0.866    -.4119111    .4898226
  sac_trust_poa_lawendorse |   .4234446   .3472479     1.22   0.223    -.2571488    1.104038
                     black |  -.0119259   .2417155    -0.05   0.961    -.4856796    .4618278
           black_trust_poa |  -.2694162    .491706    -0.55   0.584    -1.233142    .6943098
          black_lawendorse |  -.2019464   .3761066    -0.54   0.591    -.9391017    .5352089
black_trust_poa_lawendorse |  -.2091738   .7256219    -0.29   0.773    -1.631366    1.213019
---------------------------+----------------------------------------------------------------
                     /cut1 |  -.8930203   .1210104                     -1.130196   -.6558443
                     /cut2 |   .9095521   .1210911                      .6722179    1.146886
--------------------------------------------------------------------------------------------

. 
. estsimp ologit law_da trust_poa ///
>      lawendorse trust_poa_lawendorse ///
>          saccounty sac_trust_poa ///
>          sac_lawendorse sac_trust_poa_lawendorse ///
>          black black_trust_poa ///
>          black_lawendorse black_trust_poa_lawendorse

Iteration 0:   log likelihood = -2051.6542
Iteration 1:   log likelihood = -2005.5544
Iteration 2:   log likelihood = -2005.4415
Iteration 3:   log likelihood = -2005.4415

Ordered logit estimates                           Number of obs   =       1914
                                                  LR chi2(11)     =      92.43
                                                  Prob > chi2     =     0.0000
Log likelihood = -2005.4415                       Pseudo R2       =     0.0225

------------------------------------------------------------------------------
      law_da |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
   trust_poa |    .401875    .181112     2.22   0.026      .046902     .756848
  lawendorse |  -.0937086   .1713569    -0.55   0.584     -.429562    .2421447
trust_poa_~e |   .2737465   .2596206     1.05   0.292    -.2351006    .7825936
   saccounty |    .208715   .1567034     1.33   0.183    -.0984181    .5158481
sac_trust_~a |   .0290372   .2396812     0.12   0.904    -.4407293    .4988036
sac_lawend~e |   .0389558   .2300383     0.17   0.866    -.4119111    .4898226
sac_trust_~e |   .4234446   .3472479     1.22   0.223    -.2571488    1.104038
       black |  -.0119259   .2417155    -0.05   0.961    -.4856796    .4618278
black_trus~a |  -.2694162    .491706    -0.55   0.584    -1.233142    .6943098
black_lawe~e |  -.2019464   .3761066    -0.54   0.591    -.9391017    .5352089
black_trus~e |  -.2091738   .7256219    -0.29   0.773    -1.631366    1.213019
-------------+----------------------------------------------------------------
       _cut1 |  -.8930203   .1210104          (Ancillary parameters)
       _cut2 |   .9095521   .1210911 
------------------------------------------------------------------------------

Simulating main parameters.  Please wait....
% of simulations completed: 7% 15% 23% 30% 38% 46% 53% 61% 69% 76% 84% 92% 100% 

Number of simulations  : 1000
Names of new variables : b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13

. 
. 
. * Control group, non-Sac
. 
. setx median

. setx lawendorse 0

. setx trust_poa 0

. simqi, prval(3) genpr(control_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         0         0     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         1       median  
                 trust_poa |         0         0     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
              Pr(law_da=3) |   .3319379     .0247755     .2854057    .3833021

Simqi generated the following new variable(s): control_pr

. 
. simqi, fd(prval(3) genpr(trust_poa_fd)) changex(trust_poa 0 1)

First Difference: trust_poa 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
           dPr(law_da = 3) |   .0940247     .0453387     .0094529    .1815199

Simqi generated the following new variable(s): trust_poa_fd

. 
. simqi, fd(prval(3) genpr(lawendorse_fd)) changex(lawendorse 0 1)

First Difference: lawendorse 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
           dPr(law_da = 3) |  -.0216874     .0366806    -.0851599    .0531949

Simqi generated the following new variable(s): lawendorse_fd

. 
. 
. setx trust_poa 1

. simqi, prval(3) genpr(trust_poa_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         0         0     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         1       median  
                 trust_poa |         1         1     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
              Pr(law_da=3) |   .4259626     .0511993      .331684    .5289516

Simqi generated the following new variable(s): trust_poa_pr

. 
. simqi, fd(prval(3) genpr(trust_poa_lawendorse_fd)) changex(lawendorse 0 1 trust_poa_lawendorse 0 1)

First Difference: lawendorse 0 1 trust_poa_lawendorse 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
           dPr(law_da = 3) |   .0434016     .0479534    -.0500917    .1336008

Simqi generated the following new variable(s): trust_poa_lawendorse_fd

. 
. 
. * Endorsement Treatment group, non-Sac
. 
. setx median

. setx lawendorse 1

. setx trust_poa 0

. simqi, prval(3) genpr(lawendorse_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         1         1     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         1       median  
                 trust_poa |         0         0     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
              Pr(law_da=3) |   .3102505     .0428547     .2342008     .394262

Simqi generated the following new variable(s): lawendorse_pr

. 
. 
. setx trust_poa 1

. setx trust_poa_lawendorse 1

. simqi, prval(3) genpr(trust_poa_lawendorse_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         1         1     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         1       median  
                 trust_poa |         1         1     
      trust_poa_lawendorse |         1         1     
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
              Pr(law_da=3) |   .4693643     .0500451     .3656595    .5652963

Simqi generated the following new variable(s): trust_poa_lawendorse_pr

. 
. 
. * Difference in baseline probabilities
. 
. tabstat control_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  control_pr |  .3319379  .0247755  .2618822  .2909613  .2999806  .3315269  .3639014   .374708  .4144275
--------------------------------------------------------------------------------------------------------

. tabstat lawendorse_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
lawendorse~r |  .3102505  .0428547  .1810959  .2447727  .2576721  .3065778  .3690519  .3829361  .4379141
--------------------------------------------------------------------------------------------------------

. 
. gen dif_con_law_pr = lawendorse_pr - control_pr
(1759 missing values generated)

. 
. tabstat dif_con_law_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_con_la~r | -.0216874  .0366806 -.1185451 -.0780221  -.069508 -.0231469  .0273979  .0420004  .0790725
--------------------------------------------------------------------------------------------------------

. 
. 
. tabstat trust_poa_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
trust_poa_pr |  .4259626  .0511993  .2623864  .3441184  .3611163  .4238241  .4919383  .5149901  .5675342
--------------------------------------------------------------------------------------------------------

. tabstat trust_poa_lawendorse_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
trust_p~e_pr |  .4693643  .0500451  .3208723  .3867473  .4043922  .4711743  .5307953  .5501275  .6098161
--------------------------------------------------------------------------------------------------------

. 
. gen dif_trust_poa_con_law_pr = trust_poa_lawendorse_pr - trust_poa_pr
(1759 missing values generated)

. 
. tabstat dif_trust_poa_con_law_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_trust_~r |  .0434016  .0479534  -.128134 -.0350625 -.0188033  .0436086  .1061486  .1206001  .1769699
--------------------------------------------------------------------------------------------------------

. 
. 
. * Control group, Sac
. 
. setx median

. setx lawendorse 0

. setx trust_poa 0

. setx saccounty 1

. simqi, prval(3) genpr(sac_control_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         0         0     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         1         1     
                 trust_poa |         0         0     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
              Pr(law_da=3) |   .3319379     .0247755     .2854057    .3833021

Simqi generated the following new variable(s): sac_control_pr

. 
. simqi, fd(prval(3) genpr(sac_trust_poa_fd)) changex(trust_poa 0 1 sac_trust_poa 0 1)

First Difference: trust_poa 0 1 sac_trust_poa 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
           dPr(law_da = 3) |   .0999115      .037618     .0234984    .1700269

Simqi generated the following new variable(s): sac_trust_poa_fd

. 
. simqi, fd(prval(3) genpr(sac_lawendorse_fd)) changex(lawendorse 0 1 sac_lawendorse 0 1)

First Difference: lawendorse 0 1 sac_lawendorse 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
           dPr(law_da = 3) |   -.012788     .0353945    -.0793321    .0598402

Simqi generated the following new variable(s): sac_lawendorse_fd

. 
. 
. setx trust_poa 1

. setx sac_trust_poa 1

. simqi, prval(3) genpr(sac_trust_poa_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         0         0     
            sac_lawendorse |         0       median  
             sac_trust_poa |         1         1     
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         1         1     
                 trust_poa |         1         1     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
              Pr(law_da=3) |   .4318494     .0297055     .3743901    .4895625

Simqi generated the following new variable(s): sac_trust_poa_pr

. 
. simqi, fd(prval(3) genpr(sac_trust_poa_lawendorse_fd)) changex(lawendorse 0 1 trust_poa_lawendorse 0 1 sac
> _lawendorse 0 1 sac_trust_poa_lawendorse 0 1)

First Difference: lawendorse 0 1 trust_poa_lawendorse 0 1 sac_lawendorse 0 1 sac_trust_poa_lawendorse 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
           dPr(law_da = 3) |   .1612506     .0429806     .0740938    .2426939

Simqi generated the following new variable(s): sac_trust_poa_lawendorse_fd

. 
. 
. * Endorsement Treatment group, Sac
. 
. setx median

. setx lawendorse 1

. setx trust_poa 0

. setx saccounty 1

. setx sac_lawendorse 1

. simqi, prval(3) genpr(sac_lawendorse_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         1         1     
            sac_lawendorse |         1         1     
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         1         1     
                 trust_poa |         0         0     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
              Pr(law_da=3) |   .3191499     .0263857     .2699011    .3748172

Simqi generated the following new variable(s): sac_lawendorse_pr

. 
. 
. setx trust_poa 1

. setx sac_trust_poa 1

. setx trust_poa_lawendorse 1

. setx sac_trust_poa_lawendorse 1

. simqi, prval(3) genpr(sac_trust_poa_lawendorse_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         0       median  
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         1         1     
            sac_lawendorse |         1         1     
             sac_trust_poa |         1         1     
  sac_trust_poa_lawendorse |         1         1     
                 saccounty |         1         1     
                 trust_poa |         1         1     
      trust_poa_lawendorse |         1         1     
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
              Pr(law_da=3) |      .5931     .0297837     .5351124    .6487409

Simqi generated the following new variable(s): sac_trust_poa_lawendorse_pr

. 
. 
. * Difference in baseline probabilities
. 
. tabstat sac_control_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
sac_contro~r |  .3319379  .0247755  .2618822  .2909613  .2999806  .3315269  .3639014   .374708  .4144275
--------------------------------------------------------------------------------------------------------

. tabstat sac_lawendorse_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
sac_lawend~r |  .3191499  .0263857  .2485593  .2765866  .2859948  .3179714  .3534392  .3626482  .4193911
--------------------------------------------------------------------------------------------------------

. 
. gen dif_sac_con_law_pr = sac_lawendorse_pr - sac_control_pr
(1759 missing values generated)

. 
. tabstat dif_sac_con_law_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_sac_co~r |  -.012788  .0353945 -.1223575 -.0710803 -.0576823 -.0137022  .0324865  .0470403  .0927065
--------------------------------------------------------------------------------------------------------

. 
. 
. tabstat sac_trust_poa_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
sac_tru~a_pr |  .4318494  .0297055   .348331  .3830308   .394359  .4315497  .4702191  .4810644  .5354821
--------------------------------------------------------------------------------------------------------

. tabstat sac_trust_poa_lawendorse_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
sac_tru~e_pr |     .5931  .0297837  .4981649   .542954  .5529606    .59398  .6317806   .640451  .6839833
--------------------------------------------------------------------------------------------------------

. 
. gen dif_sac_trust_poa_con_law_pr = sac_trust_poa_lawendorse_pr - sac_trust_poa_pr
(1759 missing values generated)

. 
. tabstat dif_sac_trust_poa_con_law_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_sac_tr~r |  .1612506  .0429806  .0206063  .0892525   .106885   .161656  .2149039  .2306118  .3027282
--------------------------------------------------------------------------------------------------------

. 
. 
. * Control group, black
. 
. setx median

. setx lawendorse 0

. setx trust_poa 0

. setx black 1

. simqi, prval(3) genpr(black_control_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         1         1     
          black_lawendorse |         0       median  
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         0         0     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         1       median  
                 trust_poa |         0         0     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
              Pr(law_da=3) |   .3301992      .050456     .2412947    .4383454

Simqi generated the following new variable(s): black_control_pr

. 
. simqi, fd(prval(3) genpr(black_trust_poa_fd)) changex(trust_poa 0 1 black_trust_poa 0 1)

First Difference: trust_poa 0 1 black_trust_poa 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
           dPr(law_da = 3) |   .0357432     .1123379    -.1588768    .2713204

Simqi generated the following new variable(s): black_trust_poa_fd

. 
. simqi, fd(prval(3) genpr(black_lawendorse_fd)) changex(lawendorse 0 1 black_lawendorse 0 1)

First Difference: lawendorse 0 1 black_lawendorse 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
           dPr(law_da = 3) |  -.0629455     .0760517    -.2117907    .0924774

Simqi generated the following new variable(s): black_lawendorse_fd

. 
. 
. setx trust_poa 1

. setx black_trust_poa 1

. simqi, prval(3) genpr(black_trust_poa_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         1         1     
          black_lawendorse |         0       median  
           black_trust_poa |         1         1     
black_trust_poa_lawendorse |         0       median  
                lawendorse |         0         0     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         1       median  
                 trust_poa |         1         1     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
              Pr(law_da=3) |   .3659424     .1049704     .1859597    .5922366

Simqi generated the following new variable(s): black_trust_poa_pr

. 
. simqi, fd(prval(3) genpr(black_trust_poa_lawendorse_fd)) changex(lawendorse 0 1 trust_poa_lawendorse 0 1 b
> lack_lawendorse 0 1 black_trust_poa_lawendorse 0 1)

First Difference: lawendorse 0 1 trust_poa_lawendorse 0 1 black_lawendorse 0 1 black_trust_poa_lawendorse 0 
> 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
           dPr(law_da = 3) |  -.0513375     .1349727    -.3137431    .2148103

Simqi generated the following new variable(s): black_trust_poa_lawendorse_fd

. 
. 
. * Endorsement Treatment group, black
. 
. setx median

. setx lawendorse 1

. setx trust_poa 0

. setx black 1

. setx black_lawendorse 1

. simqi, prval(3) genpr(black_lawendorse_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         1         1     
          black_lawendorse |         1         1     
           black_trust_poa |         0       median  
black_trust_poa_lawendorse |         0       median  
                lawendorse |         1         1     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         1       median  
                 trust_poa |         0         0     
      trust_poa_lawendorse |         0       median  
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
              Pr(law_da=3) |   .2672537     .0637787     .1583582    .3974935

Simqi generated the following new variable(s): black_lawendorse_pr

. 
. 
. setx trust_poa 1

. setx black_trust_poa 1

. setx trust_poa_lawendorse 1

. setx black_trust_poa_lawendorse 1

. simqi, prval(3) genpr(black_trust_poa_lawendorse_pr) listx

You have set the following values for the explanatory variables:

-----------------------------------------------------
                  Variable |    Value     Description
---------------------------+-------------------------
                     black |         1         1     
          black_lawendorse |         1         1     
           black_trust_poa |         1         1     
black_trust_poa_lawendorse |         1         1     
                lawendorse |         1         1     
            sac_lawendorse |         0       median  
             sac_trust_poa |         0       median  
  sac_trust_poa_lawendorse |         0       median  
                 saccounty |         1       median  
                 trust_poa |         1         1     
      trust_poa_lawendorse |         1         1     
-----------------------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
              Pr(law_da=3) |   .3146049     .0956673     .1544653    .5204376

Simqi generated the following new variable(s): black_trust_poa_lawendorse_pr

. 
. 
. * Difference in baseline probabilities
. 
. tabstat black_control_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
black_cont~r |  .3301992   .050456  .1725141  .2504256  .2688179  .3270675  .3965055  .4195598  .5179092
--------------------------------------------------------------------------------------------------------

. tabstat black_lawendorse_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
black_lawe~r |  .2672537  .0637787  .1165539  .1743199  .1896313  .2635786  .3522423  .3800214  .5988619
--------------------------------------------------------------------------------------------------------

. 
. gen dif_black_con_law_pr = black_lawendorse_pr - black_control_pr
(1759 missing values generated)

. 
. tabstat dif_black_con_law_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_black_~r | -.0629455  .0760517 -.2743998 -.1876697 -.1553966 -.0675549  .0331239  .0638942  .2723967
--------------------------------------------------------------------------------------------------------

. 
. 
. tabstat black_trust_poa_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
black_t~a_pr |  .3659424  .1049704   .110453  .2042486   .231536  .3612375  .5121742  .5578364  .6842355
--------------------------------------------------------------------------------------------------------

. tabstat black_trust_poa_lawendorse_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
black_t~e_pr |  .3146049  .0956673  .1039183  .1743096  .1971098  .3035799  .4465906  .4799118   .709142
--------------------------------------------------------------------------------------------------------

. 
. gen dif_black_trust_poa_con_law_pr = black_trust_poa_lawendorse_pr - black_trust_poa_pr
(1759 missing values generated)

. 
. tabstat dif_black_trust_poa_con_law_pr, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_black_t~ | -.0513375  .1349727 -.4440098 -.2782962 -.2268511 -.0444565  .1154154  .1742673  .3821306
--------------------------------------------------------------------------------------------------------

. 
. 
. * Calculate difference in first differences
. 
. tabstat lawendorse_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
lawendorse~d | -.0216874  .0366806 -.1185451 -.0780221  -.069508 -.0231469  .0273979  .0420004  .0790725
--------------------------------------------------------------------------------------------------------

. tabstat trust_poa_lawendorse_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
trust_p~e_fd |  .0434016  .0479534  -.128134 -.0350625 -.0188033  .0436086  .1061486  .1206001  .1769699
--------------------------------------------------------------------------------------------------------

. 
. gen dif_trust_poa_con_law_fd = trust_poa_lawendorse_fd - lawendorse_fd
(1759 missing values generated)

. 
. tabstat dif_trust_poa_con_law_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_trust_~d |  .0650891  .0610914 -.1303264 -.0364639 -.0130242  .0650585  .1449756  .1660791  .2644615
--------------------------------------------------------------------------------------------------------

. 
. 
. tabstat sac_lawendorse_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
sac_lawend~d |  -.012788  .0353945 -.1223575 -.0710803 -.0576823 -.0137022  .0324865  .0470403  .0927065
--------------------------------------------------------------------------------------------------------

. tabstat sac_trust_poa_lawendorse_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
sac_tru~e_fd |  .1612506  .0429806  .0206063  .0892525   .106885   .161656  .2149039  .2306118  .3027282
--------------------------------------------------------------------------------------------------------

. 
. gen dif_sac_trust_poa_con_law_fd = sac_trust_poa_lawendorse_fd - sac_lawendorse_fd
(1759 missing values generated)

. 
. tabstat dif_sac_trust_poa_con_law_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_sac_tr~d |  .1740386  .0555829 -.0031193  .0835806  .1040824  .1726603  .2435788  .2659919    .34492
--------------------------------------------------------------------------------------------------------

. 
. 
. tabstat black_lawendorse_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
black_lawe~d | -.0629455  .0760517 -.2743998 -.1876697 -.1553966 -.0675549  .0331239  .0638942  .2723967
--------------------------------------------------------------------------------------------------------

. tabstat black_trust_poa_lawendorse_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
black_t~e_fd | -.0513375  .1349727 -.4440098 -.2782962 -.2268511 -.0444565  .1154154  .1742673  .3821306
--------------------------------------------------------------------------------------------------------

. 
. gen dif_black_trust_poa_con_law_fd = black_trust_poa_lawendorse_fd - black_lawendorse_fd
(1759 missing values generated)

. 
. tabstat dif_black_trust_poa_con_law_fd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
dif_black_~d |   .011608  .1574545 -.4746219 -.2522565 -.1923845  .0174161  .2113264  .2740515  .4868207
--------------------------------------------------------------------------------------------------------

. 
. 
. drop b1-b13

. drop control_pr-dif_black_trust_poa_con_law_fd

. 
. log close
      name:  <unnamed>
       log:  ...\1903 JOP\law_da_trust.log
  log type:  text
 closed on:  12 Mar 2019, 15:22:44
------------------------------------------------------------------------------------------------------------
